﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GNSWebSite._Default"
    MasterPageFile="~/MasterPages/Main.Master" %>

<%@ Register Assembly="System.Web.Silverlight" Namespace="System.Web.UI.SilverlightControls"
    TagPrefix="asp" %>
<%@ Register Src="../Controls/RegisterSettings.ascx" TagName="RegisterSettings" TagPrefix="uc2" %>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="cphMainContent">
    <asp:LoginView ID="LoginView" runat="server">
        <AnonymousTemplate>
            <p>
                <asp:Localize ID="lclGuestMainMessage" runat="server" meta:resourcekey="lclGuestMainMessage">
                </asp:Localize></p>
            <table cellspacing="25px">
                <tr>
                    <td>
                        <%-- <asp:HyperLink ID="hlRegister" runat="server" 
                    ImageUrl="~/images/buttons/R_button.png" NavigateUrl="~/Pages/Register.aspx">
                    </asp:HyperLink>
                    </td>--%>
                        <td>
                            <%--<asp:HyperLink ID="hlLogin" runat="server" 
                    ImageUrl="~/images/buttons/L_button.png" NavigateUrl="~/Pages/Login.aspx">
                    </asp:HyperLink>--%>
                        </td>
                </tr>
            </table>
            <%--<p>
                <asp:Localize ID="lclMainVideoText" runat="server" meta:resourcekey="lclMainVideoText"></asp:Localize>
            </p>--%>
          <%--  <object data="data:application/x-silverlight-2," type="application/x-silverlight-2"
                 width="480" height="320" >
                <param name="source" value="../ClientBin/VideoPlayer.xap" />
                <param name="background" value="#D1D8DE" />
                <param name="initParams" value="autostart=true,muted=true,m=Catastrofes_ambientais.wmv" />
                <param name="minruntimeversion" value="2.0.31005.0" />
                <a href="http://go.microsoft.com/fwlink/?LinkId=124807" style="text-decoration: none;">
                    <img src="http://go.microsoft.com/fwlink/?LinkId=108181" alt="Get Microsoft Silverlight"
                        style="border-style: none" />
                </a>
            </object>--%>
            <asp:Silverlight ID="slDeafaultVideoPlayer" runat="server" Source="~/ClientBin/VideoPlayer.xap"
                MinimumVersion="2.0.31005" Width="480" Height="320" InitParameters="autostart=true,muted=true,m=Catastrofes_ambientais.wmv">
            </asp:Silverlight>
        </AnonymousTemplate>
        <LoggedInTemplate>
            <p>
                <asp:Localize ID="lclWelcomeMessage" runat="server" meta:resourcekey="lclWellcomeMessage"></asp:Localize>
                <asp:LoginName ID="lnUserName" runat="server" />
                <p>
                    <p>
                        <asp:Localize ID="lclLoggedUserMainMessage" runat="server" meta:resourcekey="lclLoggedUserMainMessage"></asp:Localize></p>
                    <%-- <asp:HyperLink ID="hlProfile" runat="server" 
                    ImageUrl="~/images/buttons/P_button.png" NavigateUrl="~/Pages/Profile.aspx"></asp:HyperLink>--%>
        </LoggedInTemplate>
    </asp:LoginView>
</asp:Content>
